package com.compty.paint.manager;

import java.util.List;

import com.compty.core.hibernate.HibernateEntityDao;
import com.compty.paint.domain.ProvinceInfo;

public class ProvinceInfoManager extends HibernateEntityDao<ProvinceInfo>{
	
	private static List<ProvinceInfo>  provinceInfoList = null;
	
	 public List<ProvinceInfo> getAll() {
	 
		 if(provinceInfoList == null){
			 List<ProvinceInfo>  provinceInfos =  super.getAll();
			 provinceInfoList  = provinceInfos;
		 }
		 return provinceInfoList;
	 }

}
